import React from 'react'
import ThemeContext from './context/home-context'
export default function HomeBanner() {
  return (
    <div>
      <ThemeContext.Consumer>
        {
            value=>{
               return <h2>{value.color}:{value.size}</h2>
            }
        }
      </ThemeContext.Consumer>
    </div>
  )
}
